<template>
  <div id="app">
    <router-link to="/">首页</router-link>
    <router-link to="/categorypage">分类页面</router-link>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
};
</script>

<style>
a {
  color: #000;
}
#app {
  width: 600px;
  margin: 30px auto;
}
#app a {
  margin-right: 10px;
}
#app div {
  width: 600px;
  height: 500px;
  border: 1px solid #666;
}
</style>
